/**
 * 
 */
package com.dream.vo.app;

import com.dream.model.app.AppPosition;
import com.dream.model.app.AppPosition.PositionType;


/**
 * @copyright evan
 * @author evan
 * @date 2013-9-4
 */
public class PositionVO {
	
	private String name;
	
	private String type;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
	
	
	public void populate(AppPosition item){
		
		if(item == null){return;}
		item.setType(PositionType.instance(type));
		item.setName(name);
		
	}

}
